<div id="menuBar">
    <div class="wrap">
        <ul id="menu">
        <li class="menuItem" id="logo">
            <?$img="<img src='".base_url()."img/menulogo.png' alt='logo'/>"?>
            <?$img="<div alt='logo' id='menulogo'></div>"?>
            <?=anchor("",$img)?>
            <ul class="menuList">
            </ul>
        </li>
        <? if($this->session->userdata('role') > 0):?>
        <li class="menuItem">
            <?=anchor("stats/shopping_list","Prepare")?>
            <ul class="menuList">
                <? if($this->session->userdata('role') > 1):?>
                <li><?=anchor("meal_editing/edit_meals","Manage Meals")?></li>
                <li><?=anchor("meal_editing/edit_ingredients","Manage Ingredients")?></li>
                <li><?=anchor("meal_allocation/meal_allocation","Allocate Meal Times")?></li>
                <? endif;?>
                <li><?=anchor("stats/shopping_list","View Shopping List")?></li>
            </ul>
        </li>
        <li class="menuItem">
            <a>Serve</a>
            <ul class="menuList">
                <li><?=anchor("current_orders/orders","View Orders")?></li>
                <li><?=anchor("current_orders/popular","View Votes")?></li>
            </ul>
        </li>
        
        <li class="menuItem">
            <?=anchor("feedback/current_feedback","Respond")?>
            <ul class="menuList">
                <li><?=anchor("feedback/current_feedback","Current Feedback")?></li>
                <li><?=anchor("feedback/archived_feedback","Archived Feedback")?></li>
            </ul>
        </li>
        <li class="menuItem">
            <a>Settings</a>
            <ul class="menuList">
                <?if($this->session->userdata('role') > 1):?>
                <li><?=anchor("settings/manage_users","Manage Users")?></li>
                <li><?=anchor("settings/manage_staffusers","Manage Staff")?></li>
                <li><?=anchor("settings/system_settings","System Settings")?></li>
                <?endif;?>
                <li><?=anchor("settings/change_password","Change Password")?></li>
                <li><?=anchor("home/logout","<b>Logout</b>")?></li>
            </ul>
        </li>
        <?endif;?>
        </ul>
    </div>
</div>